package com.bean;


import com.bean.anno.TableExcel;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

@Data
@Entity
@Table(name = "zjcookhouse")
@TableExcel(name="zjcookhouse", content = "EasyExcel咱家厨房",jpaBeanName="com.mapper.repository.ZjCookHouseRepository")
public class ZjCookHouse {

    @Id
    private String id;

    private String name;

    private String chef;//厨师名称

    private String chefid;//厨师id

    private LocalDateTime createtime;

    private LocalDateTime updatetime;

    @JsonProperty("userid")
    private String creator;//厨师id

}
